package com.zzl.service;

import com.zzl.entiey.User;
import com.zzl.util.Result;

import java.util.List;

/**
 * @ClassName: LoginService
 * @Description: GOOD
 * @author: ZZL
 * @date: 2021/7/5  9:48
 */
public interface LoginService {
    //用户注册
    Boolean register(User user);

    //用户登录
    String login(User user);

    List<User> findAllUser();

    void deletedUserByName(String userName);
}
